package org.spring.application.service;

import org.spring.spring.anno.Aspect;
import org.spring.spring.anno.Component;
import org.spring.spring.anno.Resource;

/**
 * @projectName: sky-springboot
 * @package: org.sky.application.service
 * @className: UserService
 * @author: zhl
 * @description: TODO
 * @date: 2024/3/14 11:46
 * @version: 1.0
 */
@Component
@Aspect
public class UserService {

    @Resource
    private OrderService orderService;
    @Resource
    private ApiService apiService;

    public void getField() {
        System.out.println("userService打印属性ApiService的bean对象：" + apiService);
        System.out.println("userService打印属性orderService的bean对象：" + orderService);
    }
}
